@(form: Form[Authentication.Login])

@main("Login", null) {
        
    <h1>Sign in</h1>
	<form action = "/login" method="POST" class="form-horizontal">
	
		@if(form.hasGlobalErrors) { 
		    <p class="error">
		        @form.globalError.message
		    </p>
		}
            
		<div class="control-group">
			<label class="control-label" for="name">Name</label>
			<div class="controls">
                <input type="text" id="name" name="name" placeholder="Name" value="@form("name").value">
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="password">Password</label>
			<div class="controls">
                <input type="password" id="password" name="password" placeholder="Password">
			</div>
		</div>
		<div class="control-group">
			<div class="controls">
				<button class="btn" ><i class="icon-login"></i></></button>
			</div>
		</div>
	</form>
	
            
}


